package com.wuyou.service.impl;

import com.wuyou.entity.TdHost;
import com.wuyou.mapper.TdHostMapper;
import com.wuyou.service.ITdHostService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yz
 * @since 2022-09-30
 */
@Service
public class TdHostServiceImpl extends ServiceImpl<TdHostMapper, TdHost> implements ITdHostService {

    @Autowired
    private TdHostMapper mapper;

    @Override
    public TdHost selectById(String hostId) {
        TdHost host = mapper.selectById(hostId);
        return host;
    }
}
